package web.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import web.mapper.CourseMapper;
import web.pojo.Course;

@Service
public class CourseService {

    @Autowired
    private CourseMapper mapper;

    public List<Course> courseList() {
        return mapper.courseList();
    }
}
